<?php
/**
 * Created by PhpStorm.
 * User: moquan
 * Date: 2018/5/26
 * Time: 17:12
 */
/*return [
    // 定义test模块的自动生成
    'common' => [
        '__dir__'    => ['controller'],
        'controller' => ['common'],
    ],
];*/
return [
    // 生成运行时目录
    '__file__' => ['common.php'],

    // 定义index模块的自动生成
    'index'    => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['controller', 'model', 'view'],
        'controller' => ['Index', 'Test', 'UserType'],
        'model'      => [],
        'view'       => ['index/index'],
    ],
    'wechat'    => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['controller', 'model', 'view'],
        'controller' => ['Index'],
        'model'      => [],
        'view'       => ['index/index'],
    ],
    //app接口
    'api'    => [
    '__file__'   => ['common.php'],
    '__dir__'    => ['controller', 'model'],
    'controller' => ['Index'],
    'model'      => [],
    ]
    // 。。。 其他更多的模块定义
];